package com.example.service;

import com.example.common.ServiceResponse;
import com.example.common.TableServerResponse;
import com.example.vo.PropertyListVO;

/**
 * @BelongsProject: gxcwhd
 * @BelongsPackage: com.example.service
 * @Author: LJ
 * @CreateTime: 2020-08-14 16:51
 * @Description:
 */
public interface IPropertyService {

    TableServerResponse getPropertyList(Integer page, Integer limit);

    TableServerResponse searchPropery(PropertyListVO propertyListVO);

    ServiceResponse getProvince();

    ServiceResponse getCity(String provinceCode);

    ServiceResponse getArea(String cityCode);

    ServiceResponse getStreet(String areaCode);

    ServiceResponse addProperty(PropertyListVO propertyListVO);

    ServiceResponse updateProperty(PropertyListVO propertyListVO);

    ServiceResponse getAllStreet();
}
